package communication.impl;

import java.rmi.RemoteException;

import communication.CallbackManager;
import communication.RequestResult;




public class CallbackServerObject implements CallbackManager {

	private String name;
	
	
	public CallbackServerObject(String name){
		this.name = name;
	}
	
	public String getName() throws RemoteException {
		return name;
	}
	
	public void callBack(RequestResult result) throws RemoteException {
		System.out.println("Callback en cours: " + result.getSomeThing());
		
	}
}
